package cu.tedu.io;

//import com.sun.deploy.cache.CachedJarFile;

import java.io.*;
import java.util.Scanner;

//打印键盘输入的数据
public class Text4 {
   // private static Object Closeable;

    public static void main(String[] args) throws IOException {

        method();
        method2();
        method3();


    }

    public static void method3() {
        for(int i = 1;i<=8;i++){
            for(int j = 1;j<=8;j++){
                System.out.println();
            }
            System.out.println();
        }



    }

    public static void close(Closeable in){
        try {
            in.close();
        }catch(IOException e){
            e.printStackTrace();
        }
    }
    public static void method2() {



    }

    public static void method() throws IOException {
        String a = new Scanner(System.in).nextLine();
        System.out.println("输入的数据:"+a);


        InputStream in= new BufferedInputStream(System.in);
         int b = 0;
        while((b=in.read())!=-1){
             System.out.println(b);
         }

        in.close();



    }
}
